home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / windows5 / wedl20.zip / READ.ME < prev    next >
Text File  |  1991-05-01  |  2KB  |  79 lines

  1.  
  2.                        +---------------------------+
  3.                        |  WEDL 2.00 Release Notes  |
  4.                        +---------------------------+
  5.  
  6.  
  7. New for WEDL 2.00:
  8. ------------------
  9.  
  10.     *   Windows 3.1 compatibility.
  11.  
  12.     *   Improved field validation capabilities.
  13.  
  14.     *   Ability to handle internal WEDL errors (eg. Field Cannot Be Blank).
  15.  
  16.     *   Expanded context-sensitive help.  Forms can now have a default help
  17.         context for controls without an individual help context.
  18.  
  19.     *   Support for drag and drop.  Fields can accept drag and drop file
  20.         names from File Manager.  (On systems with Windows 3.1+ only)
  21.  
  22.     *   Enable-links.  Provide for automatic enabling/disabling of controls
  23.         based upon the condition of a field or button.
  24.  
  25.     *   Improved numeric data entry.
  26.  
  27.     *   3-Level Undo in fields.
  28.  
  29.     *   Ability to select text within a field.
  30.  
  31.     *   Improved clipboard support.
  32.  
  33.     *   Improved international support.
  34.  
  35.     *   Turbo Pascal for Windows support.
  36.  
  37.     *   Support for Borland's BWCC.DLL custom control library.
  38.  
  39.  
  40. Using WEDL with C++ and OWL:
  41. ----------------------------
  42.  
  43.     Create a derived class from OWL's TDialog class:
  44.  
  45.         class TMyDialog : public TDialog {
  46.             public:
  47.                 .....
  48.             private:
  49.                 HFORM hform;    // WEDL's form handle
  50.         }
  51.  
  52.     Define the form during the TMyDialog::SetupWindow virtual function:
  53.  
  54.         void TMyDialog::SetupWindow()
  55.         {
  56.             TDialog::SetupWindow();   // initialize base class
  57.             hform = form_begin( ... );
  58.             // do all WEDL definitions (field_define, button_define, etc.)
  59.             form_end( hform );
  60.         }
  61.  
  62.     Save the form during the TMyDialog::CanClose virtual function:
  63.  
  64.         BOOL TMyDialog::CanClose()
  65.         {
  66.             if( form_validate( hform ) != NULL ) return( FALSE );
  67.             form_save( hform );
  68.             return( TRUE );
  69.         }
  70.  
  71.     Terminate the form during the TMyDialog::Destroy virtual function:
  72.  
  73.         void TMyDialog::Destroy( int return_value )
  74.         {
  75.             form_cancel( hform );
  76.             TDialog::Destroy( return_value );
  77.         }
  78.  
  79.